package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:char(11);not null;"`
	Password string `gorm:"type:char(32);not null;"`
}

type House struct {
	gorm.Model
	Name    string `gorm:"type:varchar(50);not null;"`
	Address string `gorm:"type:varchar(300);not null;"`
	UserId  int    `gorm:"type:int(10);not null;"`
}
